dxp-ux
8gh-0o9/GET all Payments (TMF-676)
listPayment
This operation retrieves the payment history by using account number.
This operation is towards
- LCPR: Aria, Matrixx, CSG.
- Panama: Liberate
Request URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/paymentURL PARAMS
| name | type | description | required |
|---|---|---|---|
| businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit. | Y |
Header
| name | value | description | required (mandatory-Y, optional-N, Not applicable- N/A) |
|---|---|---|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y(PR, PA) |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y(PR, PA) |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | N(PR, PA) |
| channelId | string | Channel to business Allowed Value : APP | Y(PR) N/A(PA) |
| lob | string | The Line of Business Identifier Allowed ENUM values: FIXED, PREPAID, POSTPAID | Y (PR. For Matrixx not in scope) N/A(PA) |
| targetSystem | string | Expected target system: csg, matrixx, aria | Y (PR) N/A(PA) |
Query Param
| name | type | description | required (mandatory-Y, optional-N, Not applicable- N/A) |
|---|---|---|---|
| account_no | string | To retrieve the payments from a specific account | Y(PR, PA) |
| startDate | string | To retrieve the payments performed after this date | N(PR, PA) |
| endDate | string | To retrieve the payments performed before this date | N(PR, PA) |
| paymentItem.referredType | string | To retrieve the payments from a specific referredType Possible values are: history, planDetails, plansByAcct, receipt, deposits, depositDetails, items, summary | N/A(PR) N(PA) |
Data Model
Response Data Model
| name | type | description | required (mandatory-Y, optional-N, Not applicable- N/A) |
|---|---|---|---|
| id | string | Unique identifier of Payment | Y(PR, PA) |
| description | string | Text describing the contents of the payment | N(PR) Y(PA) |
| correlatorId | string | Unique identifier in the client for the payment in case it is needed to correlate | N(PR) Y(PA) |
| status | string | Status of the payment | N(PR) Y(PA) |
| statusDate | datetime or string | Date when the status was recorded Note for PA: This field type is string | N(PR) Y(PA) |
| name | string | Screen name of the payment | N(PR) Y(PA) |
| paymentDate | datetime or string | Date when the payment was performed Note for PA: This field type is string | N(PR) Y(PA) |
| extendedCharacteristics[] | array | Represents additional attributes of payment entity | N(PR) N/A(PA) |
| extendedCharacteristics[].name | string | name of the additional attributes (ex: "paymentDate", "procStatusCode") | N(PR) N/A(PA) |
| extendedCharacteristics[].value | string | value of the additional attributes(ex: "2023-06-09", 100) | N(PR) N/A(PA) |
| account | object | Account reference. A account may be a party account or a financial account. | N(PR) Y(PA) |
| account.id | string | Unique identifier of the account | N(PR) Y(PA) |
| account.@type | string | When sub-classing, this defines the sub-class entity name | N(PR) N/A(PA) |
| account.name | string | Name of the account | N(PR) Y(PA) |
| account.description | string | Detailed description of the account | N/A(PR) Y(PA) |
| amount | object | A base / value business entity used to represent money | N(PR) N/A(PA) |
| amount.value | number | A positive floating point number | N(PR) N/A(PA) |
| amount.unit | string | Currency (ISO4217 norm uses 3 letters to define the currency) | N(PR) N/A(PA) |
| amount.amount | number | A positive floating point number | N(PR) N/A(PA) |
| paymentMethod | object | link to the resource that holds information about the payment mean used to complete the operation | Y(PR, PA ) |
| paymentMethod.id | string | Unique Identifier within the server for the payment method. | N(PR) N/A(PA) |
| paymentMethod.@type | string | When sub-classing, this defines the sub-class entity name | N(PR) Y(PA) |
| paymentMethod.details | object | Details of payment method | N(PR) N/A(PA) |
| paymentMethod.details.type | string | Type of payment method | N(PR) N/A(PA) |
| paymentMethod.details.cardNumber | string | Card Number | N(PR) N/A(PA) |
| paymentMethod.details.expirationDate | string | Card Expiry Date | N(PR) N/A(PA) |
| paymentItem[] | array | The paymentItem is the result of lettering process. It enables to assign automatically or manually part of incoming payment amount to a bill | N(PR) Y(PA) |
| paymentItem[].totalAmount | object | A base / value business entity used to represent money | N(PR) Y(PA) |
| paymentItem[].totalAmount.amount | number | A positive floating point number | N(PR) N/A(PA) |
| paymentItem[].totalAmount.value | number | A positive floating point number | N/A(PR) Y(PA) |
| paymentItem[].item | object | Entity reference schema to be use for all entityRef class. | N(PR) Y(PA) |
| paymentItem[].item.id | string | Unique identifier of a related entity. | N(PR) N/A(PA) |
| paymentItem[].item.referredType | string | The actual type of the target instance when needed for disambiguation. | N(PR) N/A(PA) |
| paymentItem[].item.@referredType | string | The actual type of the target instance when needed for disambiguation. | N/A(PR) Y(PA) |
| item | object | Reference where to get more information about the entity with another API call | N(PR) N/A(PA) |
| item.referredType | string | The actual type of the target instance when needed for disambiguation. | N(PR) N/A(PA) |
| item.id | string | Unique identifier of a related entity. | N(PR) N/A(PA) |
| refund[] | array | array for the refund details | N(PR) N/A(PA) |
| refund[].id | string | Refunded id (unique) from matrixx | N(PR) N/A(PA) |
| refund[].totalAmount | object | refund amount details | N(PR) N/A(PA) |
| refund[].totalAmount.value | number | refund amount value | N(PR) N/A(PA) |
| refund[].totalAmount.unit | string | Currency (ISO4217 norm uses 3 letters to define the currency) | N(PR) N/A(PA) |
| refund[].status | string | staus of the refund(ex: refunded) | N(PR) N/A(PA) |
| refund[].refundDate | datetime | Date of the refund | N(PR) N/A(PA) |
| refund[].@type | string | When sub-classing, this defines the sub-class entity name(ex: "RefundRef") | N(PR) N/A(PA) |
| totalAmount | object | A base / value business entity used to represent money | N(PR) Y(PA) |
| totalAmount.value | number | A positive floating point number | N(PR) Y(PA) |
| totalAmount.unit | string | Currency (ISO4217 norm uses 3 letters to define the currency) | N(PR) N/A(PA) |
| totalAmount.amount | number | A positive floating point number | N(PR) N/A(PA) |
| taxAmount | object | A base / value business entity used to represent money | N(PR) N/A(PA) |
| taxAmount.amount | number | A positive floating point number | N(PR) N/A(PA) |
| @type | string | When sub-classing, this defines the sub-class entity name | N(PR) N/A(PA) |
paymentItem subResource - dataModel
| resource characteristic name | type | description | required(mandatory-Y, optional-N, Not applicable- N/A) | examples |
|---|---|---|---|---|
| payment | string | The actual type of the target instance when needed for disambiguation. | Y(PA) | PA: { "item": { "referredType": "payment"}} |
| deposit | string | The actual type of the target instance when needed for disambiguation. | Y(PA) | PA: {"item": { "referredType": "deposit"}} |
extendedCharacteristics subResource - dataModel
| resource characteristic name | type | description | required(mandatory-Y, optional-N, Not applicable- N/A) | examples |
|---|---|---|---|---|
| procStatusCode | string | Response code from payment processor (Braintree). Possible Values will be :1000(Approved), 4001(settlement_declined), 4000(settled), 81706(CVV is required), ARIA COMM 1 (voided payment), etc... | N(PR) N/A(PA) | PR: { "name": "procStatusCode", "value": "1000" } |
| paymentDate | string | Processor payment date | N(PR) N/A(PA) | PR: { "name": "paymentDate", "value": "2024-02-13" } |
| procPaymentId | string | The processor payment ID | N(PR) N/A(PA) | PR: { "name": "procPaymentId", "value": "bkh04029" } |
| paymentMethodNo | string | Processor payment method number | N(PR) N/A(PA) | PR: { "name": "paymentMethodNo", "value": "1" } |
| procStatusText | string | Payment processor status text is returned The possible payment status is either 'Approved or settled or Settlement Pending or External Payment or Cash Credit or Insufficient Funds or fail or {Unknown} | N(PR) N/A(PA) | PR: { "name": "procStatusText", "value": "Approved" } |
Key considerations
- Please find the responses in following URL: DXP UX : PaymentHistory
PA Implementation
1. This implementation retrieves the payment history for FIXED, POSTPAID accounts.
2. To retrieve payment history for a specific duration, startDate and endDate queryParameters must be passed.
3. If the dates are not specified in queryParams, the API returns history of last one year by default.
4. Description field provides the billReferenceNumber.
5. statusDate field is the enteredDate in Liberate.
6. name field gives the name value which is sent during creating the payment (ThirdPartySource).
7. correlatorId field gives the correlatorId value which is sent during creating the payment (ThirdPartyPaymNo).
8. status possible values are "Returned" or "Success".
9. By default, payment history is retrieved if 'paymentItem.referredType' queryParam is not provided; if specified, it must be sent as "history"
10. For all the dateTime fields
- Any datetime before 1908-04-22 will show offset -05:18
- Any datetime on or after 1908-04-22 will show offset -05:00Get Payment Plans
This API allows consumer to returns the list of payment plans on the account.
URL
https://[localhost]:[port]/dev/dxp-ux/dxp-ux/v1/{businessId}/paymenturl Param
| name | type | description | required |
|---|---|---|---|
| businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit. | Y |
Header
| name | value | description | required |
|---|---|---|---|
| client_id | string | The client_id identifying the channel. | Y |
| client_secret | string | Password associated with the client_id. | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | Y |
Query Param
| name | type | description | required |
|---|---|---|---|
| account.id | string | BAN-CAN ( client_acct_id ) | Y |
cURL request
curl --location 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/payment?account.id=DAVE2025062416' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2b' \
--header 'client_id: 784c9a6dd7ae49768816cab57fcf1fa1' \
--header 'client_secret: 187b259EB77441babbF611d2646C670d'Response
In this section all the possible data structures received by the client at the moment of responding the method are defined.
Possible response success
This section defines all the possible data structures received by the client and that must be considered satisfactory at the time of responding to the method.
[ 200 ]
OK - get request processed successfully, response body contains an entity corresponding to the requested resource.
[
{
"id": "23", //AriaAssignedPaymentPlanNumber
"status": "Active", //payment_plan_status
"paymentItem": [
{
"item": {
"id": "23", //<client_payment_plan_id>
"name": "Dave Test" //payment_plan_name
}
},
{
"amount": {
"value": 1015.1,
"unit": "USD"
},
"item": {
"name": "InitialBalance"
}
},
{
"amount": {
"value": 1015.1,
"unit": "USD"
},
"item": {
"name": "RemainingBalance"
}
},
{
"amount": {
"value": 0,
"unit": "USD"
},
"item": {
"name": "PaidAmount"
}
}
],
"paymentMethod": {
"account": [
{
"id": "2109150",
"name": "ClientBillingGroupId"
},
{
"id": "5859395",
"name": "AlignedPaymentPlanClientMasterPlanInstanceId"
}
]
},
"extendedCharacteristic": [
{
"name": "PaymentPlanDescription",
"value": "Dave Test"
},
{
"name": "PaymentPlanCreateDate",
"value": "2026-08-14"
},
{
"name": "FirstPaymentPlanDueDate",
"value": "2026-09-09"
},
{
"name": "LastPaymentPlanDueDate",
"value": "2026-11-09"
},
{
"name": "PaymentPlanType",
"value": 1
},
{
"name": "PaymentPlanLength",
"value": 3
},
{
"name": "TransactionOnPaymentPlanList",
"valueType": "array",
"value": [
{
"transactionCreateDate": "2026-06-17 01:42:04",
"transactionId": 585141221,
"invoiceNo": 1216902637
},
{
"transactionCreateDate": "2026-06-17 01:42:04",
"transactionId": 585141222,
"invoiceNo": 1216902637
},
{
"transactionCreateDate": "2026-06-17 01:42:04",
"transactionId": 585141223,
"invoiceNo": 1216902637
},
{
"transactionCreateDate": "2026-06-17 01:42:04",
"transactionId": 585141224,
"invoiceNo": 1216902637
},
{
"transactionCreateDate": "2026-07-17 01:35:24",
"transactionId": 590822078,
"invoiceNo": 1217967920
},
{
"transactionCreateDate": "2026-07-17 01:35:24",
"transactionId": 590822079,
"invoiceNo": 1217967920
},
{
"transactionCreateDate": "2026-07-17 01:35:24",
"transactionId": 590822080,
"invoiceNo": 1217967920
},
{
"transactionCreateDate": "2026-07-17 01:35:24",
"transactionId": 590822081,
"invoiceNo": 1217967920
}
]
}
],
"@type": "Payment"
}
]Definitions
Each of the request parameters is detailed.
| name | type | description | required |
|---|---|---|---|
| id | string | Aria-assigned payment plan no. | N |
| status | string | Specifies the other status of payment plan (active, completed, or cancelled). | N |
| paymentItem | array | N | |
| paymentItem.item | object | N | |
| paymentItem.item.id | string | Client-defined unique payment plan ID. | N |
| paymentItem.item.name | string | Payment plan name. | N |
| paymentItem.amount | object | Specifies the balance to be paid by the payment plan at time of payment plan creation. Specifies the remaining balance to be paid by the payment plan at the time of the API call. The paid amount of payment plan at the time of the API call. | N |
| paymentItem.amount.value | number | Contains the balance of either 'InitialBalance', 'RecurringAmount', or 'PaidAmount | N |
| paymentItem.amount.unit | string | Currency (ISO4217 norm uses 3 letters to define the currency) | N |
| paymentItem.@referredType | string | Balance differentiator | N |
| paymentMethod | object | Holds information about the payment plan accounts | N |
| paymentMethod.account | array | list of payment plan accounts | N |
| paymentMethod.account.id | string | unique account id Please refer below 'paymentMethod account values' table for more details | N |
| paymentMethod.account.name | string | name of the account | N |
| extendedCharacteristic | array | Describes the characteristic of a payment plan | N |
| extendedCharacteristic.name | string | Name of the characteristic | N |
| extendedCharacteristic.value | any | Value of the of the characteristic | N |
| extendedCharacteristic.valueType | string | Data type of the characteristic | N |
| @type | string | This defines the sub-class entity name, in this case 'PaymentPlan' | N |
paymentMethod account values
| paymentMethod account name | type | description | required |
|---|---|---|---|
| ClientBillingGroupId | string | Client-defined billing group ID. | N |
| AlignedPaymentPlanClientMasterPlanInstanceId | string | The client-defined unique identifier for master plan instance that will be used to communicate upcoming payment due. Mandatory when payment_plan_type = 0. | N |
extendedCharacteristic values
| extendedCharacteristic name | type | description | required |
|---|---|---|---|
| PaymentPlanDescription | string | Payment plan description. | N |
| PaymentPlanCreateDate | string | Date when payment plan created. | N |
| FirstPaymentPlanDueDate | string | The date of the first payment plan will be due. | N |
| LastPaymentPlanDueDate | string | The date of the last payment plan will be due. | N |
| PaymentPlanType | number | Specifies the payment plan type for the account. Allowable values are: 0 - Aligned with an existing master plan instance anniversary statement or 1 - Independent, its own payment plan schedule and due dates. | N |
| PaymentPlanLength | number | Specifies the length of payment plan. For payment_plan_type = 1, the input will be used jointly with payment_plan_interval. For payment_plan_type = 0, it is the number of MPI statements that the payment plan will be part of. | N |
| TransactionOnPaymentPlanList | array | A list of transactions on a payment plan. Please refer below 'transaction_on_payment_plan_list array values' table for more details | N |
transaction_on_payment_plan_list array values
| extendedCharacteristic name | type | description | required |
|---|---|---|---|
| transactionCreateDate | string | The creation datetime of this transaction. | N |
| transactionId | number | Unique transaction ID. | N |
| invoiceNo | number | The Aria-assigned unique identifier for invoices. | N |
Possible response error
In this section all the possible data structures received by the client are defined and that must be considered as unsatisfactory when responding to the method.
[ 400 ]
Bad Request - the request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
{
"errors" : [{
"code" : 400,
"message" : "The request is invalid or not properly formed.",
"description" : "Malformed request syntax, invalid request message framing, or deceptive request routing."
}]
}[ 401 ]
Unauthorized - The request has not been applied because it lacks valid authentication credentials for the target resource.
{
"errors" : [{
"code" : 401,
"message" : "The user could not be authenticated for this request.",
"description" : "The request has not been applied because it lacks valid authentication credentials for the target resource"
}]
}[ 404 ]
Not Found - server has not found a resource with that URI. This may be temporary and permanent condition. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
{
"errors" : [{
"code" : 404,
"message" : "The request is invalid or not properly formed.",
"description" : "The requested operation failed because a resource associated with the request could not be found."
}]
}[ 405 ]
Method Not Allowed - HTTP method not allowed for this resource. The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
{
"errors": [{
"code": 405,
"message": "APIKIT:METHOD_NOT_ALLOWED",
"description": "HTTP Method POST not allowed for : /{businessId}/payment"
}]
}[ 500 ]
Internal Server Error - server encountered an error processing request. This should not happen normally, but it is a generic error message, given when no more specific message is suitable.
{
"errors" : [{
"code" : 500,
"message" : "Internal Server Error",
"description": "The request failed due to an internal error"
}]
}[ 501 ]
Not implemented - indicates that the server does not support the functionality required to fulfill the request. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.
{
"errors" : [{
"code" : 501,
"message" : "Not implemented",
"description" : "Operation GET /payment for Business Id: xxxx not implemented"
}]
}